package com.dao;

import java.util.List;

import java.util.Map;
import com.entity.Clazz;

public interface ClazzMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Clazz record);

    int insertSelective(Clazz record);

    Clazz selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Clazz record);

    int updateByPrimaryKeyWithBLOBs(Clazz record);

    int updateByPrimaryKey(Clazz record);
    
	public Clazz checkUname(Map<String, Object> uname);

	// 查询所有信息
	public List<Clazz> getAll(Map<String, Object> map);

	// 查询所有信息
	public List<Clazz> getAll2(Map<String, Object> map);

	// 获取条数
	public int getCount(Map<String, Object> po);

	// 分页
	public List<Clazz> getByPage(Map<String, Object> map);

	// 分页
	public List<Clazz> getByPage2(Map<String, Object> map);

	// 模糊查询并分页
	public List<Clazz> select(Map<String, Object> map);
}